package org.jeecg.modules.ywEndFinishedProductInventory.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 完成品库存
 * @Author: jeecg-boot
 * @Date:   2024-08-26
 * @Version: V1.0
 */
@Data
@TableName("yw_end_finished_product_inventory_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yw_end_finished_product_inventory_info对象", description="完成品库存")
public class YwEndFinishedProductInventoryInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**历史id(用于移库绑定库存)*/
    @ApiModelProperty(value = "历史id(用于移库绑定库存)")
    private String historyId;
	/**入库单id(yw_end_finished_product_enter_main主键)*/
    @ApiModelProperty(value = "入库单id(yw_end_finished_product_enter_main主键)")
    private String enterId;
	/**入库日期*/
	@Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入库日期")
    private Date enterDate;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String billNo;
	/**型号编码*/
	@Excel(name = "型号编码", width = 15)
    @ApiModelProperty(value = "型号编码")
    private String modelCode;
	/**单箱体积（m³）*/
	@Excel(name = "单箱体积（m³）", width = 15)
    @ApiModelProperty(value = "单箱体积（m³）")
    private BigDecimal boxVolume;
	/**仕向编码*/
	@Excel(name = "仕向编码", width = 15)
    @ApiModelProperty(value = "仕向编码")
    private String directionCode;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @ApiModelProperty(value = "库存数量")
    private Integer inventoryNum;
	/**
     * 库存体积（m³）
     * 计算公式：单箱体积*库存数量
     * */
	@Excel(name = "库存体积（m³）", width = 15)
    @ApiModelProperty(value = "库存体积（m³）")
    private BigDecimal inventoryVolume;
	/**货品位置*/
	@Excel(name = "货品位置", width = 15)
    @ApiModelProperty(value = "货品位置")
    private String goodsPosition;
	/**生产日期*/
	@Excel(name = "生产日期", width = 15, format = "yyyy-MM")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM")
    @DateTimeFormat(pattern="yyyy-MM")
    @ApiModelProperty(value = "生产日期")
    private Date manufactureDate;
	/**有效标志：0-有效；1-无效*/
    @ApiModelProperty(value = "有效标志")
    private String status;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
